/*!
\copyright  Copyright (c) 2024 Qualcomm Technologies International, Ltd.\n
            All Rights Reserved.\n
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file       volume_service_event_spec.h
\brief      Device events
*/

#ifndef VOLUME_SERVICE_CHANNEL_EVENT_SPEC_H_
#define VOLUME_SERVICE_CHANNEL_EVENT_SPEC_H_

#include "channel_event_spec_ids.h"
#include "source_param_types.h"
#include "volume_types.h"

/*! @{ */

/*! \brief The device event channel */
#define EVENT_BUS_CHANNEL_VOLUME_SERVICE     volume_service_event_channel

/*! \brief volume service event bus events. */
typedef enum
{
    volume_service_volume_update,
} volume_service_event_t;
 
typedef struct
{
    generic_source_t source;
    event_origin_t origin;
    volume_t volume;
    bool was_generated_on_primary;
} volume_service_volume_update_t;

/*! @} */

#endif /* VOLUME_SERVICE_CHANNEL_EVENT_SPEC_H_ */
